/*
*    Phantom v2.0 GUI Automation Software
*    Copyright (C) 2009  John C. Van Arsdall (john@phantomtest.com)
*
*    This program is free software; you can redistribute it and/or modify
*    it under the terms of the GNU General Public License as published by
*    the Free Software Foundation; either version 2 of the License, or
*    (at your option) any later version.
*
*    This program is distributed in the hope that it will be useful,
*    but WITHOUT ANY WARRANTY; without even the implied warranty of
*    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*    GNU General Public License for more details.
*
*    You should have received a copy of the GNU General Public License along
*    with this program; if not, write to the Free Software Foundation, Inc.,
*    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
*/
// Minion.h : main header file for the Minion DLL
//

#pragma once

//#if !defined(MINIONLIBAPI)
//#define MINIONLIBAPI extern "C" __declspec(dllimport)		// used in Phantom
//#endif

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"		// main symbols
#include "SSI_ScriptAPI.h"

// CMinionApp
// See Minion.cpp for the implementation of this class
//

class CMinionApp : public CWinApp
{
public:
	CMinionApp();

// Overrides
public:
	virtual BOOL InitInstance();

	DECLARE_MESSAGE_MAP()
  virtual int ExitInstance();
};


// Minion.h
// The shared header file between Phantom and Minion


//#include <afx.h>
//#include <afxcmn.h>
//#include <windows.h>
//#include <windowsx.h>
//#include <commctrl.h>
//#include <stdio.h>
//#include <memory.h>				// For memory mapped file processing


BOOL WINAPI MINION_DlgProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
LRESULT WINAPI GetMsgProc(int nCode, WPARAM wParam, LPARAM lParam);
void MINION_OnClose(HWND hWnd);

#define M_SENDMESSAGE				200
#define WM_PACTIVE					500



